#
#  Be sure to run `pod spec lint PolyvCloudClassSDK.podspec' to ensure this is a
#  valid spec and to remove all comments including this before submitting the spec.
#
#  To learn more about Podspec attributes see http://docs.cocoapods.org/specification.html
#  To see working Podspecs in the CocoaPods repo see https://github.com/CocoaPods/Specs/
#

Pod::Spec.new do |s|

  s.name         = "PolyvCloudClassSDK"
  s.version      = "0.16.3"
  s.summary      = "保利威 iOS 云课堂 SDK."

  s.homepage     = "http://git.polyv.net/ios/PolyvCloudClassSDK"
  s.license      = "MIT"
  s.author       = { "ftao" => "fft1026@163.com" }

  s.platform     = :ios, "8.0"
  s.source       = { :git => "http://git.polyv.net/ios/PolyvCloudClassSDK.git", :tag => "#{s.version}" }

  s.vendored_frameworks = 'Frameworks/*.framework'
  s.requires_arc = true

  s.subspec 'Core' do |cs|
    cs.vendored_frameworks = 'Frameworks/*.framework'
    # cs.dependency "PolyvBusinessSDK", "~> 0.14.2"
    # 0.15.0 版本之后使用 /Core
    cs.dependency "PolyvBusinessSDK/Core", "~> 0.15.0" 
  end
   
  s.subspec 'Player' do |ps|
    ps.dependency 'PolyvIJKPlayer', "~> 0.9.1"
  end
   
  s.subspec 'ThirdPart' do |ts|
    ts.dependency "AgoraRtcEngine_iOS", "2.9.0.107"
    ts.dependency "Socket.IO-Client-Swift", "~> 14.0.0"
    ts.dependency 'PolyvAliHttpDNS', '~> 1.8.0'
  end
   
  s.default_subspec = 'Core', 'Player', 'ThirdPart'

end
